<?php
/**
 * Controller
 * Gives some extra functionality to your controllers.
 *
 * @package Mundy
 */

namespace mundy;

abstract class Controller {

    /**
     * Holds Load object.
     */
    protected $load;
    
    /**
     * When controller is called as a function.
     * Pass Load object.
     */
    public function __invoke( $obj ) {
        $this->load = $obj;
    }
}